package com.sxit.tdf.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sxit.tdf.server.entity.FilePath;
import com.sxit.tdf.server.entity.bo.SimpleFilePathInfoBo;
import com.sxit.tdf.server.entity.vo.InsertFileFolderVo;

import java.util.HashMap;
import java.util.List;

/**
 * 服务类
 *
 * @author 橙子高
 * @since 2022-02-23
 */
public interface IFilePathService extends IService<FilePath> {

  FilePath findFileByPathCode(String pathCode);

  Boolean createFileFolder(InsertFileFolderVo insertFileFolderVo);

  Boolean deleteFileFolder(Integer id);

  HashMap<String, List<SimpleFilePathInfoBo>> getFolderList();

  HashMap<String, List<SimpleFilePathInfoBo>> getFolderListByBucketId(Integer id);
}
